package it.univpm.diiga.memorysim.kernel.shared;

import java.util.ArrayList;
import java.util.Hashtable;

public class Process {

	
	public Process(int PID, int dimProcess){
		this.PID = PID;
		this.dimProcess = dimProcess;
	}
	
	private int TableDim=0; //tabella delle pagina o segmenti
	private int PID = 0;
	private int dimProcess = 0;
	
	public void setPID(int PID){
		this.PID=PID;
	}
	
	public void setDimProcess(int dimProcess){
		Hashtable prova=new Hashtable();
		int[] a=new int[]{0,1};
		prova.put(0, a);
		this.dimProcess=dimProcess;
	}
	
	public int getPID(){
		return PID;
	}
	
	public int getDimProcess(){
		return dimProcess;
	}
	public void setTableDim(int n){
		this.TableDim=n;
	}
	
	public int getTableDim(){
		return TableDim;
	}
}
